#ifndef RESERVEANNOUNCEMENT_H
#define RESERVEANNOUNCEMENT_H

#include <QWidget>

namespace Ui {
class reserveAnnouncement;
}

class reserveAnnouncement : public QWidget
{
    Q_OBJECT

public:
    explicit reserveAnnouncement(QWidget *parent = nullptr);
    ~reserveAnnouncement();
    void setContent(QString content);

private slots:

    void on_pushButton_2_clicked();

private:
    Ui::reserveAnnouncement *ui;
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);
    QPoint initialMousePosition;
    bool isDragging = false;

};

#endif // RESERVEANNOUNCEMENT_H
